<template>
  <div>
    <h1>App</h1>

    <button @click="isShow = true">点我，显示 Modal</button>

    <Modal :show="isShow" @close="isShow = false" />
  </div>
</template>

<script setup>
import { ref } from "vue";
import Modal from "./components/Modal.vue";

const isShow = ref(false);
</script>
